<?php
namespace app\serverfund\logic;

use \app\manage\logic\BaseLogic;
use \think\Db;
/**
 * @author:      李颖
 * @DateTime:    2017-09-08 10:25:59
 * @Description: 支付宝
 */
class Alipay extends BaseLogic
{
    protected $name = 'alipay';
    protected $config = 'db_config_fund';
    private $alipayModel = '\app\serverfund\model\Alipay';


    //根据参数获取支付宝二维码图片
    public function getAlipayQrcode($data): array 
    {
    	return logic('app\serverfund\logic\RequestAlipay')->submitOrderInfo($data);
    }

    //扫瞄二维码支付之后调用的方法 （支付宝、微信、银联三个统一写在这里）
    public function receivePayNotify($xml)
    {
    	return logic('app\serverfund\logic\RequestAlipay')->receivePayNotify($xml);
    }


}